package cn.iocoder.yudao.module.system.service.otherService;

import cn.iocoder.yudao.module.system.controller.admin.otherService.vo.ApiCallCount;
import cn.iocoder.yudao.module.system.controller.admin.otherService.vo.EtlStatusVO;

import java.util.List;

/**
 * @Description:
 * @Author: meiwanli
 * @Date: 2025-10-09 16:18
 */
public interface RecordQuery {
    /**
     * 获取服务日志
     * @param serviceType
     */
    String getServiceLog(Integer serviceType);

    /**
     * 操作服务启停
     * @param serviceType
     * @param operationType
     */
    Boolean operationService(Integer serviceType, Integer operationType);

    Boolean testDriverInfoConn();

    Boolean testVehicleInfoConn();

    Boolean testShippingNoteConn();

    Boolean testCarRepairInfoConn();

    List<EtlStatusVO> getEtlStatus();

    void updateByStatisticalTime(ApiCallCount apiCallCount);

    List<ApiCallCount> getApiCallCount(Integer dayCount);
}
